<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Registro</title>
<script language="javascript">

function test(){
	var webDocument = document.getElementById("web").contentDocument;
	alert(webDocument.document.body.innerHTML);
	
//	alert(document.getElementById("local").contentDocument.forms[0].fldLogin.value);
}

</script>


</head>
<body>
<IFRAME width="100%" height="126px" id="local" src="/app" scrolling="yes"></IFRAME>
<IFRAME width="100%" height="256px" id="web" src="http://www.campingscout.cl/adm/default.asp" scrolling="yes"></IFRAME>

<input type="button" value="prueba" onclick="javascript:test();"/>


</body>
</html>